package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.product.model.entity.WarehouseProductionSchedulingPlan;
import com.wing.product.model.response.WarehouseProductionSchedulingPlanVO;

import java.util.Map;

public interface WarehouseProductionSchedulingPlanService extends IService<WarehouseProductionSchedulingPlan> {

    Page<WarehouseProductionSchedulingPlanVO> pageList4app(Page page, Map<String, Object> params);

    WarehouseProductionSchedulingPlanVO selectProductionSchedulingPlanDetail(String id);

    JsonResult saveWarehouseProductionSchedulingPlan(WarehouseProductionSchedulingPlanVO warehouseProductionSchedulingPlanVO);

    JsonResult updateProductionSchedulingPlan(String id, String status);

    JsonResult updateWarehouseProductionSchedulingPlan(WarehouseProductionSchedulingPlanVO warehouseProductionSchedulingPlanVO);
}
